import 'package:flutter/material.dart';
import '../../model/bizmodel.dart';

class ConnectNowPage extends StatefulWidget {
  final String id;
  ConnectNowPage({Key key, this.id}) : super(key: key);

  @override
  _ConnectNowPageState createState() => _ConnectNowPageState();
}

class _ConnectNowPageState extends State<ConnectNowPage> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return SafeArea(
        top: false,
        bottom: false,
        child: ListView(
          children: <Widget>[
             FittedBox(
              fit: BoxFit.fill,
              child: FadeInImage.assetNetwork(placeholder: "assets/images/house.png", image:"https://product.sanygroup.com/images/201607/goods_img/131_G_1469609438189.jpg",),
             ),
            Text("SY65W轮胎式液压挖掘机"),
            Text("出厂日期: 2008-10-01"),
            Text("设备未接入物联网平台, 对设备健康运行, 企业融资授信额度, 二手交易估价等都有不利影响 "),
            RaisedButton(
              child: const Text('打电话'),
              onPressed: (){},
            ),
          ],
        ));
  }
}
